package cn.ztydata.teachingsystem.heaven.web.dto.test;

import cn.ztydata.teachingsystem.heaven.web.dto.KpDto;
import cn.ztydata.teachingsystem.heaven.web.dto.exercise.ExerciseAnalysisDto;
import cn.ztydata.teachingsystem.heaven.web.dto.exercise.ExerciseTipDto;
import cn.ztydata.teachingsystem.heaven.web.dto.exercise.OptionDto;

import java.util.List;

/**
 * 习题回答Dto类
 * Created by cx on 2015/4/3.
 */
public class ExerciseForAnswerDto {
    private Long praxisId; //习题ID
    private String question; //题干
    private String title; //列表题干（没有html标签）
    private Integer type; //题型（1：单选；2：多选；3：判断题；4：填空；5：简答题；6 ：阅读理解 7：阅读理解多选）
    private Long score; //分数
    private Long hot; //热度
    private Long majorId; //专业ID
    private Integer difficulty; //难度(1~5)
    private List<ExerciseTipDto> tipList; //提示
    private List<ExerciseAnalysisDto> analysisList; //常规解析
    private List<KpDto> knowledge; //知识点
    private Long analysisResCount; //资源解析总数
    private String fileName; //附件名称
    private String downloadUrl; //附件下载地址
    private String showUrl; //附件浏览地址
    private List<BlankForAnswerDto> blanks; //空格集合，填空题时使用，不用时为null
    private List<OptionDto> options; //习题选项
    private StudentAnswerDto studentAnswer; //学生答题

    private List<ExerciseForAnswerDto> sonPraxises; //子习题集合

    public Long getPraxisId() {
        return praxisId;
    }

    public void setPraxisId(Long praxisId) {
        this.praxisId = praxisId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Long getHot() {
        return hot;
    }

    public void setHot(Long hot) {
        this.hot = hot;
    }

    public Long getMajorId() {
        return majorId;
    }

    public void setMajorId(Long majorId) {
        this.majorId = majorId;
    }

    public Integer getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(Integer difficulty) {
        this.difficulty = difficulty;
    }

    public List<ExerciseTipDto> getTipList() {
        return tipList;
    }

    public void setTipList(List<ExerciseTipDto> tipList) {
        this.tipList = tipList;
    }

    public List<ExerciseAnalysisDto> getAnalysisList() {
        return analysisList;
    }

    public void setAnalysisList(List<ExerciseAnalysisDto> analysisList) {
        this.analysisList = analysisList;
    }

    public Long getAnalysisResCount() {
        return analysisResCount;
    }

    public void setAnalysisResCount(Long analysisResCount) {
        this.analysisResCount = analysisResCount;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getShowUrl() {
        return showUrl;
    }

    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl;
    }

    public List<BlankForAnswerDto> getBlanks() {
        return blanks;
    }

    public void setBlanks(List<BlankForAnswerDto> blanks) {
        this.blanks = blanks;
    }

    public List<OptionDto> getOptions() {
        return options;
    }

    public void setOptions(List<OptionDto> options) {
        this.options = options;
    }

    public StudentAnswerDto getStudentAnswer() {
        return studentAnswer;
    }

    public void setStudentAnswer(StudentAnswerDto studentAnswer) {
        this.studentAnswer = studentAnswer;
    }

    public List<ExerciseForAnswerDto> getSonPraxises() {
        return sonPraxises;
    }

    public void setSonPraxises(List<ExerciseForAnswerDto> sonPraxises) {
        this.sonPraxises = sonPraxises;
    }

    public List<KpDto> getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(List<KpDto> knowledge) {
        this.knowledge = knowledge;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
